/**
 * Cell.java
 */
package com.pluginsacceptor.plugin.spreadsheet.model;

import java.awt.Font;

import javax.swing.JLabel;

/**
 * The cell model class
 */
public class Cell extends JLabel {

    /**
     *
     */
    private static final long serialVersionUID = 2755739335439712532L;


    /**
     * Constructor
     */
    public Cell() {
        super();
        this.setFont(getFont().deriveFont(Font.PLAIN));
    }

    /**
     * Constructor
     * @param text
     */
    public Cell(final String text) {
        super(text);
        this.setFont(getFont().deriveFont(Font.PLAIN));
    }



    @Override
    public String toString() {
        return this.getText();
    }
}
